package com.tjetc.dao;

import com.tjetc.domain.Fee;
import com.tjetc.domain.Medreport;
import com.tjetc.utils.PageInfo;

import java.sql.SQLException;
import java.util.List;

public interface FeeDao {

    List<Fee> listNoDeal() throws SQLException;

    void add(Fee fee) throws SQLException;

    Fee listMyFee(int rid) throws SQLException;

    void updateStatus(int id) throws SQLException;

    void finishFee(int id) throws SQLException;

    int getMaxId() throws SQLException;

    void rollBackStatus(int id) throws SQLException;

    List<Medreport> listByDate(String date) throws SQLException;

    List<Fee> list(PageInfo<Fee> pageInfo) throws SQLException;

    int getCount() throws SQLException;

}
